package cn.com.hhrcw.exception;

/**
 * @author lixingxing
 */
public final class JeecgBootException extends RuntimeException {
    private static final long serialVersionUID = 1L;

    private int code;

    public JeecgBootException(String message, int code) {
        super(message);
        this.code = code;
    }

    public JeecgBootException(Throwable cause) {
        super(cause);
    }

    public JeecgBootException(String message, Throwable cause) {
        super(message, cause);
    }

    public int getCode() {
        return code;
    }
}
